package com.koo.modules.product.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author charlin
 * @email 136137465@qq.com
 * @date 2022-12-19 15:30:46
 */
@Data
@ApiModel()
@TableName("product_audit")
public class ProductAuditEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    @TableId
    private Long auditId;

    @ColumnWidth(11)
    @ExcelProperty("产品ID")
    @ApiModelProperty(value = "产品ID")
    private Long productId;

    @ColumnWidth(11)
    @ExcelProperty("采购审核状态 0未审核， 1审核通过， -1审核不通过")
    @ApiModelProperty(value = "采购审核状态 0未审核， 1审核通过， -1审核不通过")
    private Integer purchaseAuditState;

    @ColumnWidth(11)
    @ExcelProperty("采购人id")
    @ApiModelProperty(value = "采购人id")
    private Long purchaseAuditUserId;

    @ColumnWidth(11)
    @ExcelProperty("采购员名称")
    @ApiModelProperty(value = "采购员名称")
    private String purchaseAuditUserName;

    @ColumnWidth(11)
    @ExcelProperty("采购审核日期")
    @ApiModelProperty(value = "采购审核日期")
    private Date purchaseAuditDate;

    @ColumnWidth(11)
    @ExcelProperty("采购审核说明")
    @ApiModelProperty(value = "采购审核说明")
    private String purchaseAuditRemark;

    @ColumnWidth(11)
    @ExcelProperty("质管审核状态 0未审核， 1审核通过， -1审核不通过")
    @ApiModelProperty(value = "质管审核状态 0未审核， 1审核通过， -1审核不通过")
    private Integer qcAuditState;

    @ColumnWidth(11)
    @ExcelProperty("质管人id")
    @ApiModelProperty(value = "质管人id")
    private Long qcAuditUserId;

    @ColumnWidth(11)
    @ExcelProperty("质管员名称")
    @ApiModelProperty(value = "质管员名称")
    private String qcAuditUserName;

    @ColumnWidth(11)
    @ExcelProperty("质管审核日期")
    @ApiModelProperty(value = "质管审核日期")
    private Date qcAuditDate;

    @ColumnWidth(11)
    @ExcelProperty("质管审核说明")
    @ApiModelProperty(value = "质管审核说明")
    private String qcAuditRemark;

    @ColumnWidth(11)
    @ExcelProperty("质保审核状态 0未审核， 1审核通过， -1审核不通过")
    @ApiModelProperty(value = "质保审核状态 0未审核， 1审核通过， -1审核不通过")
    private Integer qaAuditState;

    @ColumnWidth(11)
    @ExcelProperty("质保人id")
    @ApiModelProperty(value = "质保人id")
    private Long qaAuditUserId;

    @ColumnWidth(11)
    @ExcelProperty("质保员名称")
    @ApiModelProperty(value = "质保员名称")
    private String qaAuditUserName;

    @ColumnWidth(11)
    @ExcelProperty("质保审核日期")
    @ApiModelProperty(value = "质保审核日期")
    private Date qaAuditDate;

    @ColumnWidth(11)
    @ExcelProperty("质保审核说明")
    @ApiModelProperty(value = "质保审核说明")
    private String qaAuditRemark;

}
